package com.hyp.pay.UI.Zxing.presenter.contract;

import com.hyp.pay.base.BasePresenter;
import com.hyp.pay.base.BaseView;
import com.hyp.pay.model.JsonModel;

/**
 * Created by Administrator on 2017/6/13.
 */

public interface TestScanContract {

    interface View extends BaseView {
        void showWeixin(String data);
        void showZhiPay(String data);
        void showBaiDu(String data);
        void showJDPay(JsonModel data);
        void showQQPay(String data);


        void showWeixinOrder(String data);
        void showZhifuOrder(String data);
        void showBaiduOrder(String data);
        void showQQOrder(String data);


        void showTimber(Long  time);
    }

    interface Presenter extends BasePresenter<View> {
        void getWeixin(String gooddsname,String Charge,String CreatTime, String Type,String UserId,
                       String AuthCode, String AddIp);
        void getZhiPay(String goods_name,String Charge,String CreatTime, String PayType,String UserId,
                       String AuthCode,String AddIp);
        void getBaiDu(String goods_name,String total_amount,String pay_type,
                      String addip,String pay_code,String userid);
        void getJDPay(String receiverName,String amount,String bankName,String receiverCardNo,
                      String bankCode,String AddIp);
        void getQQPay(String totalFee,String AuthCode,String AddIp,String userid);


        void getWeixinOrder(String order);
        void getZhifuOrder(String order);
        void getBaiduOrder(String order);
        void getQQOrder(String order,String ip);
        void getTimber();
    }
}
